package com.kerrykidz.sales.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.kerrykidz.sales.dao.mapper.PosOrderPrdEntityMapper;
import com.kerrykidz.sales.dao.model.PosOrderEntity;
import com.kerrykidz.sales.service.IRetService;

@Service
public class RetServiceImpl implements IRetService {

	@Autowired
	private PosOrderPrdEntityMapper posOrderPrdEntityMapper;
	
	@Override
	public List<PosOrderEntity> findRetByOrder(String orderId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getHasRetedOrderPrdCount(String orderId, String prdId) {
		return this.posOrderPrdEntityMapper.getHasRetedOrderPrdCount(orderId,prdId);
	}

}
